-
Home
-
LivePayments – mobilPay Card WooCommerce Payment Gateway
-
0.1.6 (latest)
-
Code
-
Classes
- Uploader
Total Complexity |
57 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
347 |
Lines of code |
156 |
Logical lines of code |
92 |
Comment lines |
112 |
Methods |
16 |
Properties |
10 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
receive() |
B |
41 |
17 |
54 |
__construct() |
A |
51 |
11 |
26 |
hasFileUploaded() |
S |
71 |
4 |
5 |
setCustomValidator() |
S |
69 |
4 |
6 |
_detectUploadedFileMimeType() |
S |
64 |
3 |
10 |
_calculateFileSize() |
S |
66 |
3 |
9 |
_detectTypeAndValidate() |
S |
63 |
2 |
12 |
_isUploadCompleted() |
S |
79 |
2 |
3 |
_isUploadedFileMimeTypeAllowed() |
S |
75 |
2 |
4 |
_isFileSizeValid() |
S |
71 |
2 |
6 |
_passesCustomValidator() |
S |
71 |
2 |
6 |
_isChunkedUpload() |
S |
81 |
1 |
3 |
_haveAllChunksBeenUploaded() |
S |
79 |
1 |
3 |
isReady() |
S |
82 |
1 |
3 |
_getTmpFilePath() |
S |
80 |
1 |
3 |
_hasFileMimeTypeRestrictions() |
S |
80 |
1 |
3 |